package com.itheima.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 跳转页面的 控制器
 */

@Controller
public class IndexController {

    @RequestMapping("/user")
    public String index() {
        return "user";
    }

    @RequestMapping("/login")
    public String login() {
        return "login";
    }
}
